<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>排行榜</title>
  <link rel="stylesheet" href="styles/icon.css">
  <link rel="stylesheet" href="styles/style.css">
  </head>
  <style>

.article {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #000000;
}
.cover {
  position: relative;
  width: 100%;
  height: 250px;
}
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tabs .tab-item img {
  vertical-align: middle;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  margin-bottom: 5px;
}
.info {
  padding: 15px 12px 50px;
  position: relative;
}
.desc {
  font-size: 12px;
  position: absolute;
  right: 10px;
  bottom: 12px;
}
</style>
<body>
  <div class="page">
    <header class="top">
      <div class="top-title">排行榜</div>
      <nav class="tabs">
        <ul>
          <li class="tab-item tab-active"><img src="imgs/icon_article.webp"/>好文精选</li>
          <li class="tab-item"><img src="imgs/icon_hot.webp" />热度资讯</li>
      </nav>
      <nav class="cats">
        <ul class="cat-list">
          <li class="cat-item cat-active">文章</li>
        </ul>
      </nav>
    </header>
    <main class="list">
       <!-- 第一篇文章 -->
      <a href="#" class="article">
        <div class="cover">
          <img src="imgs/sku-1.jpg" class="cover-img" />
          <img src="imgs/rank-top1.png" class="cover-rank" />
        </div>
        <div class="info">
          <div class="article-title">安卓电视通过 KODI 看 IPTV</div>
          <div class="desc">
            <i class="iconfont icon-comment"></i>
              <span class="desc-number">105</span>
              <i class="iconfont icon-zhi"></i>
              <span class="desc-number">345</span>
          </div>
        </div>
      </a>

      <!-- 第二篇文章 -->
      <a href="#" class="article">
        <div class="cover">
          <img src="imgs/sku-2.jpg" class="cover-img" />
          <img src="imgs/rank-top2.png" class="cover-rank" />
        </div>
        <div class="info">
          <div class="article-title">起跑线26期：5km跑步，你到了哪一级别？学会这几个跑步技巧，助你提升PB</div>
          <!-- 添加#跑者标签 -->
          <div class="tag">
            <span class="tag-hash">#</span>
            <span>跑者</span>
          </div>
          <div class="desc">
            <i class="iconfont icon-comment"></i>
              <span class="desc-number">151</span>
              <i class="iconfont icon-zhi"></i>
              <span class="desc-number">132</span>
          </div>
        </div>
      </a>

      <!-- 第三篇文章 -->
      <a href="#" class="article">
        <div class="cover">
          <img src="imgs/sku-3.jpg" class="cover-img" />
          <img src="imgs/rank-top3.png" class="cover-rank" />
        </div>
        <div class="info">
          <div class="article-title">完美百度功能，大家必用</div>
          <div class="desc">
            <i class="iconfont icon-comment"></i>
              <span class="desc-number">321</span>
              <i class="iconfont icon-zhi"></i>
              <span class="desc-number">276</span>
          </div>
        </div>
      </a>
       <!-- 第四篇文章 -->
      <a href="#" class="article">
        <div class="cover">
          <img src="imgs/sku-4.jpg" class="cover-img" alt="手把手教你用 NAS 搭建个人影音库" />
          <img src="imgs/rank-top4.png" class="cover-rank" />
        </div>
        <div class="info">
          <div class="article-title">更滋润</div>
          <div class="desc">
            <i class="iconfont icon-comment"></i>
              <span class="desc-number">98</span>
              <i class="iconfont icon-zhi"></i>
              <span class="desc-number">122</span>
          </div>
        </div>
      </a>

      <!-- 第五篇文章 -->
      <a href="#" class="article">
        <div class="cover">
          <img src="imgs/sku-5.jpg" class="cover-img" alt="瑜伽入门全指南" />
          <img src="imgs/rank-top5.png" class="cover-rank" />
        </div>
        <div class="info">
          <div class="article-title">平板电脑大降价，走过路过不要错过</div>
          <div class="desc">
            <i class="iconfont icon-comment"></i>
              <span class="desc-number">204</span>
              <i class="iconfont icon-zhi"></i>
              <span class="desc-number">106</span>
          </div>
        </div>
      </a>

      <!-- 第六篇文章 -->
      <a href="#" class="article">
        <div class="cover">
          <img src="imgs/sku-6.jpg" class="cover-img" alt="抖音本地生活服务使用攻略" />
        </div>
        <div class="info">
          <div class="article-title">机器人大作战</div>
          <div class="desc">
            <i class="iconfont icon-comment"></i>
              <span class="desc-number">199</span>
              <i class="iconfont icon-zhi"></i>
              <span class="desc-number">299</span>
          </div>
        </div>
      </a>
    </main>
  </div>
</body>
</html>